<template>
  <div id="app">
    <h1>Vuex 购物车示例</h1>
    <div class="container">
      <ProductList />
      <ShoppingCart />
    </div>
  </div>
</template>

<script>
import ProductList from './components/ProductList';
import ShoppingCart from './components/ShoppingCart';

export default {
  name: 'App',
  components: {
    ProductList,
    ShoppingCart
  }
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  text-align: center;
  color: #2c3e50;
  margin-top: 20px;
}
.container {
  display: flex;
  justify-content: space-around;
  max-width: 1000px;
  margin: 0 auto;
}
</style>